/* recover from old-browser styling */

*.ahem {display: none !important;}
div#sidebar b {display: none !important;}

/* NS6.x-specific fixes */

*|*:-moz-list-bullet, *|*:-moz-list-number {font-size: 1em;}

/* basic styles */

html {margin: 0; padding: 0;}
body {font: 11px Verdana, sans-serif; margin: 0; padding: 0;}
body div#main {margin: 0.33em 3em 0em 11em; padding: 0.5em 3em 5em 0em;}

h1#sitemast {font-size: 320%; line-height: 0.9em;
  font-weight: bold; margin: 0; padding: 0.33em 0 10px;
  text-transform: lowercase; letter-spacing: 0.13em;
  border-bottom: 1px solid;}
h1#sitemast span {padding-left: 0.33em; margin: 0;}
h2 {margin: 0; font-weight: bold; font-size: 200%;}
h3 {font-size: 130%; font-weight: bold;
  margin: 0; padding: 0; 
  border-style: solid; border-width: 0 0 1px 0;}
h3 a.hlinks {position: relative; left: 1em; bottom: -0.5em;
  padding: 3px 0.5em; margin: 0;
  border-style: solid; border-width: 1px 2px;
  text-decoration: none;}
h4 {margin: 1.66em 0 0; font-size: 115%; font-weight: bold;}
h5 {margin: 1.25em 0 0; font-size: 100%;}

div#topmenu {float: right; margin-right: 10px;}
#topmenu a {font: bold 1em Verdana, sans-serif; text-decoration: none;
	height: 1em; border-bottom: 2px solid;}
#topmenu a:hover {border-bottom: 2px dotted;}

img.pic {display: block; float: right; margin: 0 0 0.5em 1em;}

div#main p {margin: 1.5em 3 1em 2em; padding: 0;
  text-align: left; line-height: 1.4;}
div#main ul, div#main ol {margin: 0.75em 0 1em 1.75em;
  padding: 0 0 0 3em;}
p#signature {margin-top: 2em; padding-right: 0.25em;
  text-align: left; font-style: italic;}
pre, code, tt {font: 103% "Andale Mono", "Courier New", Courier, monospace;
  line-height: 1em;}
dl {margin: 0.75em 0 0.75em 1.75em; padding: 0;}
dt {font-weight: bold;}
dd {margin-top: 0.33em; margin-bottom: 0.66em;}
li {margin-bottom: 0.33em;}

div#main blockquote {font-style: normal; margin-left: 4em; margin-bottom: 0.25em;}
div#main blockquote p {margin: 0.33em 2.5% 0.33em 0 !important; line-height: 1.2;
  text-indent: 2em;}
div#main blockquote em {font-style: italic; font-weight: inherit;}

div#sidebar {float: left; width: 11em; 
  margin: 0.33em 0 0; padding-left: 0; text-align: right;}
div#sidebar h4 {margin: 0; padding: 0; 
  font-size: 1.5em; font-weight: bold; line-height: 1.25em;
  text-align: right; text-transform: lowercase;
  border-bottom: 2px dotted; }
div#sidebar h4#sidetop {margin-top: 3.2em; margin-right: 0;}
div#sidebar p.subhead {font-size: 95%; font-style: italic;
  line-height: 1em;
  text-align: right; padding: 0.125em 0.5em 0;}

div#sidebar a {display: block; 
  padding: 5px 5px 2px; margin: 0;
  border-style: solid; border-width: 0 1px 0 0;
  text-decoration: none; outline-width: 0;}
div#sidebar a:hover {border-right-width: 5px;
  padding-right: 3px; margin-right: -2px;}
div#sidebar img {width: 95%; max-width: 150px; 
  margin: 3px 0 5px; border: 1px solid;}

div#footer {font-size: 90%; padding: 0.5em 1em 0.5em;
  border: 1px solid; border-width: 1px 0; text-align: right; clear: both;
  line-height: 1em;}
div#footer p {margin: 0.25em 0 0.5em;}
div#footer p + p {margin-bottom: 0.125em;}

/* color settings */

body {color: rgb(0,0,0); background: rgb(255,255,255);}
h1#sitemast {color: rgb(30%,30%,50%); background: rgb(255,255,255);
  background-image: url(bg.gif); border-color: rgb(30%,30%,50%);}
h1#sitemast span {background: rgb(255,255,255); color: rgb(27%,27%,47%);}
h1#sitemast a {color: rgb(30%,30%,50%); text-decoration: none;}

h2 {color: rgb(20%,20%,40%);}
h3 {color: rgb(20%,20%,30%); border-color: rgb(50%,50%,60%);}
h3 a.hlinks {border-color: rgb(50%,50%,60%);
  background-color: rgb(100%,100%,97%);}
code {color: rgb(20%,30%,40%);}
blockquote {color: rgb(25%,30%,35%);}
img.pic {border-color: rgb(50%,50%,60%);}
div#sidebar {background-color: transparent;}
div#sidebar a {border-color: rgb(30%,30%,50%);}
div#sidebar a:link {color: rgb(30%,30%,60%);}
div#sidebar a:visited {color: rgb(50%,50%,60%);}
div#sidebar a:hover {border-color: rgb(30%,30%,60%);}
div#sidebar a:visited:hover {border-color: rgb(50%,50%,60%);}
div#sidebar h4 {color: rgb(30%,30%,50%); border-color: gray;}
div#footer {color: gray; background: #eeeeee;
  border-color: rgb(50,50,90) navy rgb(75%,80%,85%) navy;}

#topmenu a {color: #aaaaaa;
  border-color: white; background-color:white;}
#topmenu a:hover {color: black;
	border-color: black; background-color: white;}
